/*
 * @Description:toSting()
 * @Author: rendc
 * @Date: 2021-09-01 11:01:08
 * @LastEditors: rendc
 * @LastEditTime: 2021-09-01 11:02:32
 */
// var pattern = /abc/i;
var pattern = new RegExp("abc", "i");
console.log(pattern.toString());